<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<c:set value="${pageContext.request.contextPath}/railinc-template/images" var="images"/>
<c:set value="${pageContext.request.contextPath}/railinc-template/js" var="scripts"/>
<c:set value="${pageContext.request.contextPath}/scripts" var="appScripts"/>
<c:set value="${pageContext.request.contextPath}/railinc-template/css" var="styles"/>
<c:set value="${pageContext.request.contextPath}/style" var="appStyles"/>
<c:set value="${pageContext.request.contextPath}/" var="basePath"/>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" href="${images}/favicon.ico" />

<!-- Common script libraries -->
<script src="${scripts}/jquery-1.6.1.min.js" type="text/javascript"></script>
<script src="${scripts}/jquery.hoverIntent.minified.js" type="text/javascript"></script>
<script src="${scripts}/jquery.tablesorter.min.js" type="text/javascript"></script>
<script src="${scripts}/jquery-ui-1.8.12.custom.min.js" type="text/javascript"></script>
<script src="${scripts}/standard.js" type="text/javascript"></script>

<script type="text/javascript"> 
	$(document).ready(function(){
		
		//required field styler
		rail.base.requiredLabel();
		// list swapper control
		rail.base.listSwapper();
		// table sort
		rail.base.tableSorterUtil();
		// mega menu
		rail.base.megaHoverOver();
		rail.base.megaHoverOut();
		//Set custom configurations for mega menu
		rail.base.megaConfig();	
		// app nav menu
		rail.base.applicationNavMenu();
		// Set up the wizards navigation patterns
		// wizard.instance.init();
		
		// datepicker util
		rail.base.datePicker();
	});
</script> 

<link rel="stylesheet" type="text/css" href="${styles}/jquery-ui-1.8.12.custom.css"/>
<link rel="stylesheet" type="text/css" href="${styles}/standard.css"/>
<link rel="stylesheet" type="text/css" href="${appStyles}/app.css"/>

<style type="text/css">
	label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
</style>